/**
 * <pre>
 * Author:		linriqing
 * Create:	 	2014-3-10 下午11:55:58
 * Copyright: 	Copyright (c) 2014
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.itfin.sms.impl;

import org.springframework.context.ApplicationContext;

import com.hengpeng.common.exception.ServiceResult;
import com.hengpeng.itfin.sms.AbstractGatewayProcessor;
import com.hengpeng.itfinbase.persist.SmsLog;
import com.hengpeng.itfinbase.persist.SmsPartner;

/**
 * <pre>
 * 无操作的短信网关实现
 * </pre>
 * @author linriqing
 * @version 1.0, 2014-3-10
 */
/*@Service("nullSmsServiceImpl")
@Lazy*/
public class NullSmsPartnerService extends AbstractGatewayProcessor
{
	@Override
	public ServiceResult<SmsLog> sendMessage(SmsLog smsLog)
	{
		ServiceResult<SmsLog> result = new ServiceResult<SmsLog>();
		result.setReturnValue(smsLog);
		result.setIsSuccess(false);
		return result;
	}
	public NullSmsPartnerService(ApplicationContext context, SmsPartner partner)
	{
		super(context, partner);
	}
	@Override
	public void release()
	{
	}
}
